package com.sr.examination.exam.exercise.category;

import com.sr.examination.R;
import com.tl.commonlibrary.ui.beans.ExerciseBean;

/**
 * Created by jiangzhongshan on 18/2/3.
 * 案例分析题
 */

public class CaseAnalysisFragment extends SubjectiveFragment {

    public static CaseAnalysisFragment newInstance(ExerciseBean exerciseBean, int examMethod) {
        CaseAnalysisFragment fragment = new CaseAnalysisFragment();
        fragment.setExerciseBean(exerciseBean);
        fragment.setExamMethod(examMethod);
        return fragment;
    }

    @Override
    protected void init() {
        super.init();
        setDescription(getString(R.string.exercise_case_analysis_title_content, exerciseBean.getScore(), exerciseBean.getItemQuest()));
    }
}
